package dto;

import om.Orte;
import om.Region;
import om.Route;

public class RouteOrtRegionDTO {
	
	Integer routeid;
	Route route1;
	String routenname;
	String regionname;
	String ortname;
	float strecke;
	String kurztxt;


	public RouteOrtRegionDTO(Route route, Orte orte, Region region)
	{	
		route1 = route;
						
		routeid = route1.getRouteid();
		routenname = route.getName();
		regionname = region.getRegion();
		ortname = orte.getStadt();
		strecke = route.getStrecke();
		kurztxt = route.getKurztxt();
	}


	public Integer getRouteid() {
		return routeid;
	}




	public void setRouteid(Integer routeid) {
		this.routeid = routeid;
	}




	public Route getRoute1() {
		return route1;
	}




	public void setRoute1(Route route1) {
		this.route1 = route1;
	}




	public Integer getRoutenid() {
		return routeid;
	}




	public void setRoutenid(Integer routeid) {
		this.routeid = routeid;
	}




	public String getRoutenname() {
		return routenname;
	}


	public void setRoutenname(String routenname) {
		this.routenname = routenname;
	}


	public String getRegionname() {
		return regionname;
	}


	public void setRegionname(String regionname) {
		this.regionname = regionname;
	}


	public String getOrtname() {
		return ortname;
	}


	public void setOrtname(String ortname) {
		this.ortname = ortname;
	}

	public float getStrecke() {
		return strecke;
	}


	public void setStrecke(float strecke) {
		this.strecke = strecke;
	}


	public String getKurztxt() {
		return kurztxt;
	}


	public void setKurztxt(String kurztxt) {
		this.kurztxt = kurztxt;
	}

}
